package com.farm.doc.server;

import com.farm.core.auth.domain.LoginUser;
import com.farm.doc.domain.FarmDocShare;

/**
 * 文档共享
 * 
 * @author yangyinign@deliverik.com
 * @version 
 */
public interface FarmDocShareInter {

	/**
	 * 创建文档共享
	 * @param docid
	 * @param loginUser
	 * @return 
	 */
	FarmDocShare createDocShare(String docid, LoginUser loginUser);
	
	/**
	 * 根据主键查询文档共享
	 * @param id
	 * @return
	 */
	FarmDocShare queryDocShareById(String id);
	
}
